package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName question_option
 */
@TableName(value ="question_option")
@Data
public class QuestionOption implements Serializable {
    /**
     * 选项主键
     */
    @TableId(value = "optionId", type = IdType.AUTO)
    private Integer optionid;

    /**
     * 问题主键，外键关联到evaluate_question表的questionId
     */
    @TableField(value = "questionId")
    private Integer questionid;

    /**
     * 选项值
     */
    @TableField(value = "value")
    private String value;

    /**
     * 选项标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 选项分数
     */
    @TableField(value = "score")
    private Double score;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}